c402d63e360ac214b39b931390a1aa2768298245,subprojects/testing-native/src/main/java/org/gradle/nativeplatform/test/googletest/plugins/GoogleTestPlugin.java,Rules,createGoogleTestTestBinaries,#BinaryContainer#TestSuiteContainer#File#ServiceRegistry#ITaskFactory#,114
Before Change
@Mutate
public void createGoogleTestTestBinaries(final BinaryContainer binaries, TestSuiteContainer testSuites, @Path("buildDir") File buildDir, ServiceRegistry serviceRegistry, ITaskFactory taskFactory) {
for (final GoogleTestTestSuiteSpec googleTestTestSuite : testSuites.withType(GoogleTestTestSuiteSpec.class)) {
for (NativeBinarySpec testedBinary : googleTestTestSuite.getTestedComponent().getNativeBinaries()) {
if (testedBinary instanceof SharedLibraryBinary) {
// TODO:DAZ For now, we only create test suites for static library variants
continue;
After Change
@Mutate
public void createGoogleTestTestBinaries(final BinaryContainer binaries, TestSuiteContainer testSuites, @Path("buildDir") File buildDir, ServiceRegistry serviceRegistry, ITaskFactory taskFactory) {
for (final GoogleTestTestSuiteSpec googleTestTestSuite : testSuites.withType(GoogleTestTestSuiteSpec.class)) {
for (NativeBinarySpec testedBinary : googleTestTestSuite.getTestedComponent().getBinaries().withType(NativeBinarySpec.class)) {
if (testedBinary instanceof SharedLibraryBinary) {
// TODO:DAZ For now, we only create test suites for static library variants
continue;